const statusDict = [{
  label: '已激活',
  value: 1,
}, {
  label: '未激活',
  value: 0,
}];
const levelDict = [{
  label: '一级',
  value: 1,
}, {
  label: '二级',
  value: 2,
}, {
  label: '三级',
  value: 3,
}];
const option = {
  selection: true,
  border: true,
  stripe: true,
  align: 'center',
  dialogFullscreen: true,
  searchMenuPosition: "right",
  addBtn: false,
  menuWidth: "150",
  column: [{
    label: '渠道级别',
    prop: 'channelLevel',
    type: 'select',
    dicData: levelDict,
    editDisabled: true
  },
    {
      label: '父级渠道',
      prop: 'parentChannelName',
      type: 'select',
      dicData: levelDict,
      editDisabled: true
    },

    {
      label: '渠道名称',
      prop: 'channelName',
      search: true,
      editDisabled: true
    },
    {
      label: '设备号',
      prop: 'deviceNo',
      search: true,
      editDisabled: true
    },
    {
      label: '卡号',
      prop: 'cardNo',
    }, {
      label: '订单号',
      prop: 'orderNo',
      search: true
    },
    {
      label: '车主名称',
      prop: 'customer'
    },
    {
      label: '车辆类型',
      prop: 'vehicleKind'
    },
    {
      label: '车牌号',
      prop: 'vehicleNo'
    },
    {
      label: '车牌颜色',
      prop: 'vehicleColor'
    },
    {
      label: '车型',
      prop: 'vehicleType'
    },
    {
      label: '签约时间',
      prop: 'signTime',
      type: "datetime",
      valueFormat: 'yyyy-MM-dd HH:mm:ss'
    },
    {
      label: '激活时间',
      prop: 'activeTime',
      type: "datetime",
      valueFormat: 'yyyy-MM-dd HH:mm:ss'
    },
    {
      label: '激活方式',
      prop: 'activateStyle',
    },
    {
      label: '激活服务费',
      prop: 'rebateAmount',
      editDisabled: true
    },
    // {
    //   label: '状态',
    //   prop: 'deviceStatus',
    //   search: true,
    //   type: 'select',
    //   dicData: statusDict,
    // }
  ]
}

export {
  option
}
